//
//  AY_ChannelModel.h
//  AiYue
//
//  Created by boWen on 2023/10/17.
//

#import "AY_BaseModel.h"


NS_ASSUME_NONNULL_BEGIN

//男女
@interface SortModel : JSONModel

@property (nonatomic,copy) NSString <Optional>* name;
@property (nonatomic,copy) NSString <Optional>* sortNo;
@property (nonatomic,copy) NSString <Optional>* channelId;
@end

@protocol SortModel

@end

@interface AY_titleSModel : AY_BaseModel
@property (nonatomic,copy) NSArray <SortModel,Optional> * data;
@end



@interface DisplayStyleModel : JSONModel

@property (nonatomic,copy) NSString <Optional>* styleName;//名称
@property (nonatomic,copy) NSString <Optional>* styleCode;//编码
@property (nonatomic,copy) NSString <Optional>* eleNum;//元素展示数量
@property (nonatomic,copy) NSString <Optional>* styleVersion;//样式版本号
@property (nonatomic,copy) NSString <Optional>* displayDescription;//描述

@end

@interface BookDecModel : JSONModel //书城书本显示

@property (nonatomic,copy) NSString <Optional>* author;
@property (nonatomic,copy) NSString <Optional>* categoryName;
@property (nonatomic,copy) NSString <Optional>* info;
@property (nonatomic,copy) NSString <Optional>* imagePic;
@property (nonatomic,copy) NSString <Optional>* chapterNum;
@property (nonatomic,copy) NSString <Optional>* bookDecId;
@property (nonatomic,copy) NSString <Optional>* name;
@property (nonatomic,copy) NSString <Optional>* score;
@property (nonatomic,copy) NSString <Optional>* status;
@property (nonatomic,copy) NSString <Optional>* image;//图标地址
@property (nonatomic,copy) NSString <Optional>* redirectType;
@property (nonatomic,copy) NSString <Optional>* redirectTypeName;
@end

@protocol BookDecModel

@end

@interface BookBDsModel : JSONModel
@property (nonatomic,copy) NSString <Optional>* author;
@property (nonatomic,copy) NSString <Optional>* categoryName;
@property (nonatomic,copy) NSString <Optional>* bookId;
@property (nonatomic,copy) NSString <Optional>* image;
@property (nonatomic,copy) NSString <Optional>* info;
@property (nonatomic,copy) NSString <Optional>* name;
@property (nonatomic,copy) NSString <Optional>* status;
@end

@protocol BookBDsModel

@end

@interface BookBDModel : JSONModel
@property (nonatomic,copy) NSArray <BookBDsModel,Optional> * articles;
@property (nonatomic,copy) NSString <Optional>* moreBtnAction;
@property (nonatomic,copy) NSString <Optional>* moreBtnName;
@property (nonatomic,copy) NSString <Optional>* name;
@property (nonatomic,copy) NSString <Optional>* status;
@end

@protocol BookBDModel

@end

@interface ChannelListModel : JSONModel
@property (nonatomic,copy) NSString <Optional>* controlId;//控件id
@property (nonatomic,copy) NSString <Optional>* name;//名称
@property (nonatomic,copy) NSString <Optional>* bookDescription;//描述
@property (nonatomic,copy) NSString <Optional>* image;//图标地址
@property (nonatomic,copy) NSString <Optional>* sortNo;//排序号，越小越靠前
//控件类型 ad=banner图，book_list=书单，bill_board=榜单，guess=猜你喜欢，menu=菜单
@property (nonatomic,copy) NSString <Optional>* controlType;
//内容类型 1=小说ID，2=小说分类ID，3=榜单ID，4=广告ID，5=菜单ID，6=供应商ID
@property (nonatomic,copy) NSString <Optional>* itemType;
@property (nonatomic,copy) NSArray <BookDecModel,Optional> * items;
@property (nonatomic,copy) NSArray <BookBDModel,Optional> * bdItems;
@property (nonatomic,copy) NSString <Optional>* moreBtnName;//更多按钮显示名称
@property (nonatomic,copy) NSString <Optional>* moreBtnAction;//更多按钮动作代码
@property (nonatomic,copy) NSString <Optional>* targetIds;//目标ids
@property (nonatomic,copy) DisplayStyleModel <Optional>* displayStyle;
@end

@protocol ChannelListModel

@end

@interface AY_ChannelModel : AY_BaseModel
@property (nonatomic,copy) NSArray <ChannelListModel,Optional> * data;
@end


@interface AY_BookRefreshModel : AY_BaseModel
@property (nonatomic,copy) NSArray <BookDecModel,Optional> * data;
@end


NS_ASSUME_NONNULL_END
